const joi = require('joi');
const username = joi.string().alphanum().min(4).max(16).required();
const password = joi.string().min(6).pattern(/^[\S]{6,12}$/).required();

exports.reg_login_schema = {
    body: {
        username,
        password
    }
}